package com.nuyoah.service;

import com.nuyoah.entity.NewsResource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 存储数学竞赛和学习相关的资讯资源 服务类
 * </p>
 *
 * @author xyx
 * @since 2024-06-03
 */
public interface NewsResourceService extends IService<NewsResource> {

    void addNewsResource(NewsResource newsResource);

    void deleteNewsResource(Integer id);

    void updateNewsResource(NewsResource newsResource);

    List<NewsResource> queryNewsResource();

    List<NewsResource> getConsultation();

    List<NewsResource> getCompetition();
}
